home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-03-16 | 716 b | 29 lines |
- #
- # Makeile for mgrterm ++jrb bammi@cadence.com
- # your gcc must understand -mint (gcc 1.39 does) otherwise you
- # will have to ensure that mgrterm find the appropriate include
- # file, start file and libraries from mntlib.
- #
- # adjust MGRLIB to where mgr16.olb and mgr lib include files may be
- # found.
- #
- # leave mkptypes out -- it is getting confused somewhere.
- #
- CC = gcc
- MGRLIB = e:/mgrlib
- OPT = -O -fomit-frame-pointer -fcombine-regs
- CFLAGS = $(OPT) -mshort -mint -I$(MGRLIB) -v
-
- mgrterm.prg : mgrterm.o
- $(CC) -mint -mshort -o mgrterm.prg mgrterm.o -L$(MGRLIB) -lmgr16 -v -s
-
- mgrterm.o: mgrterm.c proto.h
- #proto.h: mgrterm.c
- # mkptypes $^ > $@
-
-
- clean:
- rm -f *.o
- realclean: clean
- rm -f mgrterm.prg proto.h
-